﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

using Global.Class.Library;

namespace DataTransferObject
{
    public class MarketingProgramCustomerChannel : NotifyPropertyChangeObject
    {
        private int customerChannelID;
        private string remarks;


        public MarketingProgramCustomerChannel()
            : this(-1, "")
        {
            
        }

        public MarketingProgramCustomerChannel(int customerChannelID, string remarks)
        {
            GlobalDefaultValue.Apply(this);

            this.CustomerChannelID = customerChannelID;
            this.Remarks = remarks;
        }

        #region Properties


        [DefaultValue(-1)]
        public int CustomerChannelID
        {
            get { return this.customerChannelID; }
            set { ApplyPropertyChange<MarketingProgramCustomerChannel, int>(ref this.customerChannelID, o => o.CustomerChannelID, value); }
        }


        [DefaultValue("")]
        public string Remarks
        {
            get { return this.remarks; }
            set { ApplyPropertyChange<MarketingProgramCustomerChannel, string>(ref this.remarks, o => o.Remarks, value); }
        }

        #endregion
    }
}
